package com.dapeng.cleardatabackend.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author dapeng
 * @description 图谱查询模式
 * @date 2024/12/22 22:27
 */
@Getter
@AllArgsConstructor
public enum MatchModeEnum implements BaseEnum{

    FUZZY(0, "模糊"),
    ACCURATE(1, "精确");

    @JsonValue
    @EnumValue
    private final Integer code;
    private final String name;

    private static final long serialVersionUID = 1L;
}
